package com.example.chengche_lol;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class FriendActivity extends AppCompatActivity {

    Button frd_follow;
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.fragment_friend);
        frd_follow = findViewById(R.id.frd_follow);

        frd_follow.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(FriendActivity.this, "关注啦~", Toast.LENGTH_SHORT).show();
            }
        });
    }

}